package com.hhkj.api.common.service.biz.base;

import com.ruoyi.framework.web.service.SysPasswordService;
import org.springframework.stereotype.Component;

@Component("salePasswordService")
public class SalePasswordService extends SysPasswordService {

    public static final String CACHE_KEY_PREFIX = "sale:";

    @Override
    protected String getCacheKey(String username, String lockType) {
        return CACHE_KEY_PREFIX + super.getCacheKey(username, lockType);
    }

    @Override
    protected void recordPasswordRetryLimit(String username) {
    }

    @Override
    protected void recordPasswordNotMatch(String username, Integer retryCount) {
    }
}
